@import "../../style/template";
@import "../../style/vars";
// html,body{
//     scrollbar-gutter: stable;
//   }
// body{
//     overflow: hidden;
//   }

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  overflow: hidden;
  overflow-y: auto;
  transition: opacity 0.3s;
  z-index: 999;

  &__wrapper {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
  }

  &__content{
    position: relative;
    margin: 20px;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    background-color: white;
    padding: 40px 20px 20px 20px;
    transform: translateY(-50px);
    transition: opacity 0.3s, transform 0.3s ;
  }


  &__btn{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    padding: 0;
    background-color: transparent;
    font-weight: bold;
    border: none;
    cursor: pointer;
  }

  &__content-total{
    @extend %font-text;
    font-size: 19px;

    @media #{$tablet}{
      font-size: 19px;
    }
    @media #{$mobile} {
      font-size: 14px;
    }
  }
}
